package hutool.captcha;

import cn.hutool.captcha.CaptchaUtil;
import cn.hutool.captcha.LineCaptcha;

public class CaptchaTest {

    public static void main(String[] args) {
        LineCaptcha captcha = CaptchaUtil.createLineCaptcha(200, 100);

        captcha.write("./line.png");
        System.out.println(captcha.getCode());
        System.out.println(captcha.verify("1234"));
    }

}
